#!/bin/bash
dir=$(dirname $0)
newFile="${dir}/new.txt"
while read line; do
	for url in $line; do
		echo "$url" >> $newFile
	done
done
for url in $@; do
	echo "$url" >> $newFile
done
